WooCommerce\Square\Framework\PaymentGateway\Payment_Gateway_Direct D

Total Complexity 129
Dependencies 7
Dependents 1
Total lines 989
Lines of code 422
Logical lines of code 241
Comment lines 359
Methods 18
Properties 0

Methods 18

Method Rating Maintainability Complexity Lines of code
do_transaction()
B
44 19 39
process_payment()
A
43 15 42
get_order()
A
45 12 39
do_credit_card_transaction()
A
45 11 39
validate_credit_card_expiration_date()
A
54 10 19
validate_fields()
A
51 9 24
update_transaction_payment_method()
A
47 8 37
do_add_payment_method_transaction()
A
48 7 32
validate_credit_card_fields()
S
56 7 16
validate_credit_card_account_number()
S
53 6 22
validate_csc()
S
57 6 17
get_order_for_add_payment_method()
S
45 4 42
add_add_payment_method_customer_data()
S
62 5 11
add_payment_method()
S
54 4 20
add_add_payment_method_transaction_data()
S
58 3 14
get_add_payment_method_payment_gateway_transaction_data()
S
82 1 3
is_direct_gateway()
S
82 1 3
transaction_forced()
S
82 1 3